\hypertarget{classvs_1_1net_1_1_tcp_stream}{\section{vs\-:\-:net\-:\-:Tcp\-Stream Class Reference}
\label{classvs_1_1net_1_1_tcp_stream}\index{vs\-::net\-::\-Tcp\-Stream@{vs\-::net\-::\-Tcp\-Stream}}
}


Wrapper class for socket stream. This class can receive/send data via the underlying socket stream, can work with \hyperlink{classvs_1_1net_1_1_tcp_acceptor}{Tcp\-Acceptor} and \hyperlink{classvs_1_1net_1_1_tcp_connector}{Tcp\-Connector}.  




{\ttfamily \#include $<$Tcp\-Stream.\-h$>$}

Inheritance diagram for vs\-:\-:net\-:\-:Tcp\-Stream\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classvs_1_1net_1_1_tcp_stream}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classvs_1_1net_1_1_tcp_stream_a9764f34c8834349bf032423838cc0d04}{\hyperlink{classvs_1_1net_1_1_tcp_stream_a9764f34c8834349bf032423838cc0d04}{Tcp\-Stream} (\hyperlink{namespacevs_1_1net_a8cd20dff70902b20f734a7f958cf99b6}{S\-O\-C\-K\-E\-T\-\_\-\-H\-A\-N\-D\-L\-E} handle=\hyperlink{namespacevs_1_1net_a022e70e88d4dc482408183296dc49ab5}{I\-N\-V\-A\-L\-I\-D\-\_\-\-S\-O\-C\-K\-E\-T\-\_\-\-H\-A\-N\-D\-L\-E})}\label{classvs_1_1net_1_1_tcp_stream_a9764f34c8834349bf032423838cc0d04}

\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hypertarget{classvs_1_1net_1_1_tcp_stream_a9a6e7327c4953ff73897967fda50be1c}{int \hyperlink{classvs_1_1net_1_1_tcp_stream_a9a6e7327c4953ff73897967fda50be1c}{Send} (const char $\ast$msg, int len, int flags=0)}\label{classvs_1_1net_1_1_tcp_stream_a9a6e7327c4953ff73897967fda50be1c}

\begin{DoxyCompactList}\small\item\em Send data to peer host. \end{DoxyCompactList}\item 
\hypertarget{classvs_1_1net_1_1_tcp_stream_a728b9488981ef254fc1ac2a180fceaeb}{int \hyperlink{classvs_1_1net_1_1_tcp_stream_a728b9488981ef254fc1ac2a180fceaeb}{Recv} (char $\ast$buf, int len, int flags=0)}\label{classvs_1_1net_1_1_tcp_stream_a728b9488981ef254fc1ac2a180fceaeb}

\begin{DoxyCompactList}\small\item\em Receive data from peer host. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Wrapper class for socket stream. This class can receive/send data via the underlying socket stream, can work with \hyperlink{classvs_1_1net_1_1_tcp_acceptor}{Tcp\-Acceptor} and \hyperlink{classvs_1_1net_1_1_tcp_connector}{Tcp\-Connector}. 

The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
\hyperlink{_tcp_stream_8h}{Tcp\-Stream.\-h}\end{DoxyCompactItemize}
